﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
Error
 
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
 <h2>Error</h2> 
 <%
        /// <summary>
        /// 
        ///  <title>SLIC</title>
        ///  <description>Error page for View Errors for User</description>
        ///  <copyRight>Copyright (c) 2011</copyRight>
        ///  <company>IronOne Technologies (Pvt)Ltd</company>
        ///  <createdOn>2011-08-05</createdOn>
        ///  <author></author>
        ///  <modification>
        ///     <modifiedBy></modifiedBy>
        ///      <modifiedDate></modifiedDate>
        ///     <description></description>
        ///  </modification>
        ///
        /// </summary>                                                                                 
    %>
 
 
  <% 
             ModelState err = ViewContext.ViewData.ModelState["err"];
             SLIC.Controllers.GenException result = null;

             if (err != null)
             {
                 result = (SLIC.Controllers.GenException)err.Errors.ElementAt(0).Exception;
             }
         %>
      <%:result.Message%>

</asp:Content>
